package com.gxa.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Min
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Banner {
   @ApiModelProperty(name = "id",value = "banner编号，主键",dataType = "int")
   private Integer  id;
   @ApiModelProperty(name = "title",value = "标题",dataType = "String")
   private String  title;
   @ApiModelProperty(name = "cimage",value = "图片地址",dataType = "String")
   private String  cimage;
   @ApiModelProperty(name = "link",value = "图片超链接地址",dataType = "String")
   private String  link;
   @ApiModelProperty(name = "link_type",value = "链接类型",dataType = "int")
   private String  link_type;
   @ApiModelProperty(name = "count",value = "点击量",dataType = "long")
   private Long  count;
   @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone = "GMT+8")
   @ApiModelProperty(name = "create_time",value = "创建时间",dataType = "Date")
   private Date create_time;
   @ApiModelProperty(name = "piror",value = "优先级",dataType = "int")
   private Integer  piror;
   @ApiModelProperty(name = "is_enable",value = "是否启用",dataType = "boolean")
   private Boolean  is_enable;
}
